<?php
	
	/**
	 * Load doctype
	 */
	$plugins -> html -> doctype ( "XHTML 1.0 Strict" );
	
?>

<head>

<?php

	/**
	 * Lets load standard meta tags...
	 * ( title, content-type, author, organization, keywords, description )
	 */
	$plugins -> head -> standardMeta();
	
	/**
	 * Deny access for robots!!!! 
	 */
	$plugins -> robots -> deny();

	/**
	 * Load css template!
	 */
	$plugins -> css -> load(
		array (
			"style"     => "screen",
			"styleIE"   => "screen",
			"styleIE7"  => "screen"
		)
	);
?>
	<script type="text/javascript">
		var baseLoc = '<?php self::$system -> enviroment -> url ?>backend/storage/';
	</script>
<?php

	/**
	 * Lets go load javascript files...
	 */
	$plugins -> js -> load( array (
		"jquery-1.2.6" => false,
		//"jquery/hotkeys"    => false,
		"jquery-ui"         => false,
		"workspaceat/menu"  => false,
		"workspaceat/fastlaunch" => false,
		//"workspaceat/alerts"     => false,
		//"workspaceat/notice_window" => false,
		"workspaceat/window"     => false,
		"workspaceat/languages"      => false,
	));

?>
	
</head>
<body>
	
	<!-- PROGRESS AREA -->
	<div class="progress" id="progress">
		<p id="pmessage">Please wait...</p>
	</div>
	
	<!-- STARTUP NOTICE AREA-->
	<div class="notice" id="addlanguage">
		
		<div class="box">
			<div class="header">
				<h2>Add new language</h2>
				
				<img class="x" id="close_addlang" src="<?php echo $plugins -> css -> getCssPath(); ?>/elements/exit_btn_notice.png" alt="Close window" />
			</div>

			<div class="container">
				<p>Welcome to garbage existing group area. Please make sure that you understand text colored in red.
				   Before anything please read manual for more
				   <a href="<?php echo $plugins -> page -> link ( "manual/pages/addpage/limitations" ); ?>" 
				   title="<?php echo $plugins -> language -> startlinktitle; ?>" >details</a></p>
				
				<p class="alert">Consider that garbaging group will garbage any existing page under it! Before garbaging please
				remove all pages from this group to another or if you like, garbage them all :) This action can be restored by
				navigating to page garbage area!</p> 
					
				<form  id="addgroup_form" action="<?php echo $plugins -> page -> link ( "languages/add" ); ?>" onsubmit="return false;">
					<ul>
						<li>
							<label>New language name</label>
							<input type="text" name="addlang_input" id="addlang_input" />
						</li>
					</ul>
				</form>
				
				<div class="valid" id="messageag_box">
					<p id="message_ag">System is currently waiting for inputs!</p>
				</div>
				
				<a href="#" class="likebutton" id="notice_ok"  title="">Create language!</a>
				<a href="#" class="likebutton" id="notice_not" title="">Discard!</a>
			</div>
			
			<div class="footer">&nbsp;</div>
		</div>
		
	</div>
	
	<!-- FAST LAUNCHER AREA -->
	<div class="fastlaunch" id="fastlaunch">
		
		<div class="topfix">
			<img class="x" id="launch_close" src="<?php echo $plugins -> css -> getCssPath(); ?>/elements/launch_x.png" alt="Close window" />
		</div>
		
		<div class="container">
			<h1>Workspace@ quick access</h1>
			
			<p>This area is used for quick access inside of Workspace@ features. Just start to write
			   down and system will find and save your searchs :)</p>
			   
			<input type="text" id="fastlaunch_browser" name="fastlaunch_browser" value="Start to typing..." />
		</div>
		
		<div class="bottomfix">&nbsp;</div>
	</div>
	
	<div class="fastlaunch_activator">
		
		<ul>
			<li>
			<img class="x" id="launch_btn" src="<?php echo $plugins -> css -> getCssPath(); ?>/elements/quicklaunch_btn.png" alt="Close window" />
			</li>
		</ul>
	</div>
	
	<!-- FLOATING QUICK NAVI AREA -->
	<div class="quicknavi" id="quicknavi">
		
		<div class="handler" id="quicknavi_handler">
			<div class="fukyou">
				<img class="quick_handler" id="launch_btn" src="<?php echo $plugins -> css -> getCssPath(); ?>/elements/quickmenu_title_bg.png" 
				alt="Open/Close quick navigation" />
			</div>
		</div>
		
		<div class="container" id="quicknavi_container">
			<h2>Workspace@ Engine standard shortcuts</h2>
			
			<ul>
			
				<li id="homepage_link">
					<h2>Home page</h2>
					<p><a href="<?php echo $plugins -> page -> link ( "" ); ?>" 
					    title="<?php echo $plugins -> language -> startlinktitle; ?>" >Go to Workspace@ Engine home page!</a></p>
				</li>
				
				<li id="quickl_handler">
					<h2>Quick launcher</h2>
					<p>Quick launcher will help you to easily access W@E features!</p>
				</li>
				
				<li>
					<h2>Notes</h2>
					<p id="notes_handler">Do we need to write any description for this?</p>
				</li>
			</ul>
			
			<div class="fukyou2">
				<p>There are no deadlines or alerts to show! That's good :D</p>
				
				<p>If you like to, you can define one :) LoL</p>
			</div>
		</div>
		
	</div>

	<?php
		$repository->menu->loadComponent( "main", "backend" );
	?>
	
	<!-- USER AREA -->
	<div class="userarea">
		
		<!-- Container exists because of bg fix. Don't remove it! -->
		<div class="container">
		
			<h1>quick user area</h1>
			
			<p>Welcome to quick user area. Click on links below to modify your user account</p>
			
			<ul>
				<li>
					<a href="<?php echo $plugins -> page -> link ( "" ); ?>" 
					title="<?php echo $plugins -> language -> startlinktitle; ?>" >Account info</a>
				</li>
				<li>
					<a href="<?php echo $plugins -> page -> link ( "" ); ?>" 
					title="<?php echo $plugins -> language -> startlinktitle; ?>" >Manage profile</a>
				</li>
				<li>
					<a href="<?php echo $plugins -> page -> link ( "" ); ?>" 
					title="<?php echo $plugins -> language -> startlinktitle; ?>" >Team area</a>
				</li>
				<li>
					<a href="<?php echo $plugins -> page -> link ( "" ); ?>" 
					title="<?php echo $plugins -> language -> startlinktitle; ?>" >Private messages (0)</a>
				</li>
				<li>
					<a href="<?php echo $plugins -> page -> link ( "authenticate/logout" ); ?>" 
					title="<?php echo $plugins -> language -> logout; ?>" ><?php echo $plugins -> language -> logout; ?></a>
				</li>
			</ul>
		</div>
		
	</div>
	
	<!-- Top fixer and alert container a.k.a area -->
	<div class="topfix">
		<div class="alert" id="basealert">
			<h1 id="balerttitle">Workspace@ activation error</h1>
			<p  id="balertmessage">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam vel elit. 
			   Sed lobortis blandit lorem. Mauris dictum dolor nec eros. Integer vitae massa id odio rutrum pretium. 
			   Donec ligula leo, tristique et, tempor molestie, accumsan eget, odio. Nullam odio arcu, rutrum vitae, 
			   lobortis in, pharetra quis, nunc.</p>	
		</div>
	</div>
	
	<!-- PAGE WARPER -->
	<div class="warp">
		
		<!-- CONTAINER AREA-->
		<div class="container">
		
			<div class="box">
				<h1><?php echo $plugins -> language -> subtitle; ?></h1>
				<hr />
				<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
				Nullam vel elit. Sed lobortis blandit lorem. Mauris dictum dolor nec eros. 
				Integer vitae massa id odio rutrum pretium. Donec ligula leo, tristique et, 
				tempor molestie, accumsan eget, odio. Nullam odio arcu,
				rutrum vitae, lobortis in, pharetra quis, nunc.
				Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam vel elit. 
				Sed lobortis blandit lorem. Mauris dictum dolor nec eros. 
				Integer vitae massa id odio rutrum pretium. Donec ligula leo, tristique et, tempor molestie, accumsan eget, odio. Nullam odio arcu,
				rutrum vitae, lobortis in, pharetra quis, nunc.</p>


				<div class="accordianlist" id="alist01">
					<p class="title"><?php echo $plugins -> language -> imgtitle_start; ?></p>
					<ul class="fullpage-box">

						<li id="#">
							<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
								Nullam vel elit. Sed lobortis blandit lorem.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
								Nullam vel elit. Sed lobortis blandit lorem.</p>

						</li>

					</ul>

				</div>
				
				<div class="accordianlist" id="alist02">
					<p class="title"><?php echo $plugins -> language -> filetitle_start; ?></p>
					<ul class="fullpage-box">

						<li id="#">
							<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
								Nullam vel elit. Sed lobortis blandit lorem.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
								Nullam vel elit. Sed lobortis blandit lorem.</p>

						</li>

					</ul>

				</div>
				
				<div class="accordianlist" id="alist03">
					<p class="title"><?php echo $plugins -> language -> videotitle_start; ?></p>
					<ul class="fullpage-box">

						<li id="#">
							<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
								Nullam vel elit. Sed lobortis blandit lorem.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
								Nullam vel elit. Sed lobortis blandit lorem.</p>

						</li>

					</ul>

				</div>
			</div>
			
					
		</div>
		
		<!-- SUBNAVI AREA -->
		<div class="subnavi">

			<div class="red">
				
				<div class="topfix">
					&nbsp;
				</div>
				
				<h1>Shortcuts</h1>
				<a href="#" title="#">Click here to manage your shortcuts!</a>
				
				<ul>
					<li>
						<a href="<?php echo $plugins -> page -> link ( "language/add/category" ); ?>" title="#">Add new language group</a>
						<p>Choose from images, videos, documents, etc...</p>
					</li>
					<li>
						<a href="<?php echo $plugins -> page -> link ( "language/modify" ); ?>" title="#">Modify existing pages</a>
						<p>Add new image inside of some group!</p>
					</li>
					
					<li>
						<a href="<?php echo $plugins -> page -> link ( "language/add/category" ); ?>" title="#">Garbage container</a>
						<p>Choose from images, videos, documents, etc...</p>
					</li>
				</ul>
				
				<div class="bottomfix">
					&nbsp;
				</div>
			</div>

			<div class="blue">
				
				<div class="topfix">
					&nbsp;
				</div>
				
				<h1>Language groups releated menu</h1>
				<a href="#" title="#">Click here to manage languages menu!</a>
				
				<ul>
					<li>
						<a href="#" id="addlanguage_handler" title="#">Add new language group</a>
						<p>Choose from images, videos, documents, etc...</p>
					</li>
					
					<li>
						<a href="<?php echo $plugins -> page -> link ( "language/modify/category" ); ?>" title="#">Modify new language group</a>
						<p>Choose from images, videos, documents, etc...</p>
					</li>
					<li>
						<a href="<?php echo $plugins -> page -> link ( "language/add/category" ); ?>" title="#">Garbage language group</a>
						<p>Choose from images, videos, documents, etc...</p>
					</li>
				</ul>
				
				<div class="bottomfix">
					&nbsp;
				</div>
			</div>
			
		</div>
		
	</div>
	
	
	<!-- Bottom fix area -->
	<div class="bottomfix">
	
		<div class="footer">
			<p>Copyright 2008-2009 <a href="http://workspaceat.com" title="#">Workspace@</a> in association with 
			   <a href="http://designstrategist.hr" title="#">Design strategist</a></p>
		</div>
		
	</div>
	
	<!-- PAGE PREVIEW AREA -->
	<div class="pagepreview" id="pagepreview_box">
		
		<div class="topfix">
			<img class="x" id="preview_close" src="<?php echo $plugins -> css -> getCssPath(); ?>/elements/launch_x.png" alt="Close window" />
		</div>
		
		<div class="container">
			<iframe class="sitelook" id="sitelook" src="#"/></iframe>
		</div>
		
		<div class="bottomfix">&nbsp;</div>
	</div>
</body>
</html>